var list = $('#fSupList .cpfl .sp02 span a'),
    retList = [],
    retStr = '';
for (var i = 0; i < list.length; i++) {
    id = /SupplyList\.aspx\?r\=([\-0-9]+)/.exec($(list[i]).attr('href'))[1];
    name = $(list[i]).text();
    retList.push({
        id: id,
        name: name
    });
    if(id > 1){
        retStr = retStr + "'"+id+"' => array(\n    'name'  => '"+name+"',\n    'mark'  => '"+name+"',\n    'class' => '',\n    'key'   => '1.txt'\n),\n";
    }
}

console.log(retStr);
